<?php

namespace App\Home;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Auth\Authenticatable;


class Member extends Model implements \Illuminate\Contracts\Auth\Authenticatable
{
    protected $table = 'member';
    use Authenticatable;

    public function role(){
        return $this->hasOne('App\Admin\Role','id','role_id');
    }
}
